#pragma once

#include <string>
#include "UiElement.h"

using namespace std;

class TabPage : public UiElement
{
	string text;

	mutable vector<UiElement*> elements;

public:
	TabPage(void);
	TabPage(const char* text, Vector2& location);
	virtual ~TabPage(void);


	// update the ui element
	virtual void Update(float dt) override;
	// draw the ui element
	virtual void Draw(void) override;
	
	vector<UiElement*>& getElements(void) const { return elements; }

	void setElements(vector<UiElement*>& value) { elements = value; }
};